<?php
include_once('common/header.php');	
if($AppUI->id > 0 || !isset($_SERVER['HTTP_REFERER'])) {	
	$arrJson = array('error'=>1,'msg'=>$arrError[1]);
	echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
	exit();
}
$objView 	= Zend_Registry::get('objView');
$strData	= $objView->fetch('ajax/ui-login.tpl');
$arrJson 	= array('error'=>0,'msg'=>$strData);
echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
exit();
?>